package com.foeye.thread;

import java.lang.Thread;
import java.lang.Override;

class MyThread extends Thread {

	int i = 0;
	@Override
	public void run() {
		while(i < 10) {
			System.out.println(Thread.currentThread().getName() + " ,  i = " + i);
			i++;
		}
	}
	


}